set(AVDN_MAJOR_VERSION "@VTK_MAJOR_VERSION@")
set(AVDN_MINOR_VERSION "@VTK_MINOR_VERSION@")
set(AVDN_BUILD_VERSION "@VTK_BUILD_VERSION@")

set(AVDN_VERSION_SVN_REVISION "@AVDN_WC_LAST_CHANGED_REV@")
  #
  # Be careful... the max number we can use as the fourth
  # component of the AssemblyVersion in AssemblyInfo.cs.in is
  # 65534. If the number is higher than that, there will be a C#
  # compile error. So... limit AVDN_VERSION_SVN_REVISION here:
  #
if(AVDN_VERSION_SVN_REVISION GREATER 65534)
  set(AVDN_VERSION_SVN_REVISION "0")
endif()

set(AVDN_SVN_STATUS_BRIEF "@AVDN_SVN_STATUS_BRIEF@")

set(AVDN_VERSION_STRING "${AVDN_MAJOR_VERSION}.${AVDN_MINOR_VERSION}.${AVDN_BUILD_VERSION}")
set(AVDN_FULL_VERSION_STRING "ActiViz.NET @AVDN_EDITION@ Edition version ${AVDN_VERSION_STRING} (revision ${AVDN_VERSION_SVN_REVISION})${AVDN_SVN_STATUS_BRIEF}")
